<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>督察实战综合平台系统-系统管理</title>

    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/bootstrap.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/font-awesome.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="${request.contextPath}/statics/css/all-skins.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/main.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/index/index.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>

    <script src="${request.contextPath}/statics/libs/html5shiv.min.js"></script>
    <script src="${request.contextPath}/statics/libs/respond.min.js"></script>
    <![endif]-->
    <script src="${request.contextPath}/statics/libs/babel-polyfill_6.23.0_polyfill.min.js"></script>
    <!--sock-->
    <script src="${request.contextPath}/statics/plugins/push/angular.min.js"></script>
    <script src="${request.contextPath}/statics/plugins/push/sockjs.min.js"></script>
    <script src="${request.contextPath}/statics/plugins/push/stomp.min.js"></script>
	<style>
		.main-header .logos {
	    -webkit-transition: width .3s ease-in-out;
	    -o-transition: width .3s ease-in-out;
	    transition: width .3s ease-in-out;
	    display: block;
	    float: left;
	    height: 32px;
	    font-size: 16px;
	    line-height: 34px;
	    text-align: center;
	    width: 230px;
	    font-family: MicrosoftYaHei;
	    padding: 0 15px;
	    font-weight: 300;
	    overflow: hidden;
	}
	.skin-blue .main-header .logos {
    background-color: #2195F5;
    color: #fff;
    border-bottom: 0 solid transparent;
    }
	</style>
</head>
<!-- ADD THE CLASS layout-boxed TO GET A BOXED LAYOUT -->
<body class="hold-transition skin-blue sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper" id="rrapp" v-cloak>
    <header class="main-header">

        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation" style="margin-left:0px;">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button" style="display:none;">
                <span class="sr-only">Toggle navigation</span>
            </a>
           <a href="javascript:void(0);" class="logos"><span class="logo-lg"><b>督察实战综合平台系统</b></span></a>
            <div style="float:left;color:#fff;padding:7px 10px;font:16px MicrosoftYaHei;">欢迎 {{user.name}}</div>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
               		 <li><a href="javascript:;" onclick="openSysMsg()">
                     <img src="${request.contextPath}/statics/images/index/index-message.png" alt="">
                    <span class="badge" id="topSystemMsgNum">0</span></a></li>
                    <li><a href="javascript:;" @click="updatePassword"><img src="${request.contextPath}/statics/images/index/index-updatePwd.png" alt=""><span class="badge">修改密码</span></a></li>
                    <li><a href="logout"><img src="${request.contextPath}/statics/images/index/index-exit.png" alt=""><span class="badge">退出系统</span></a></li>
                </ul>
            </div>
        </nav>
    </header>

    <!-- =============================================== -->

    <!-- Left side column. contains the sidebar -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
            <!-- /.search form -->
            <!-- sidebar menu: : style can be found in sidebar.less -->
            <ul class="sidebar-menu">

                <!-- vue生成的菜单 -->
                <menu-item :item="item" v-for="item in menuList"></menu-item>
            </ul>
        </section>
        <!-- /.sidebar -->
    </aside>
    <!-- =============================================== -->
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <ol class="breadcrumb" id="nav_title" style="position:static;float:none;">
                <li class="active"><i class="fa fa-home"
                                      style="font-size:20px;position:relative;top:2px;left:-3px;"></i> &nbsp; 首页
                </li>
                <li class="active">{{navTitle}}</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content" style="background:#FAFBFD;">
            <iframe scrolling="yes" frameborder="0"
                    style="background:#FAFBFD;width:100%;min-height:200px;overflow:visible;" :src="main"></iframe>
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            Version 1.0.0
        </div>
        Copyright &copy; 2018 <a href="http://公安督察.cn" target="_blank">督察实战平台</a> All Rights Reserved
    </footer>

    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>

    <!-- 修改密码 -->
    <div id="passwordLayer" style="display: none;">
        <form class="form-horizontal">
            <div class="form-group">
                <div class="form-group">
                    <div class="col-sm-2 control-label">账号</div>
                    <span class="label label-success" style="vertical-align: bottom;">{{user.username}}</span>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">原密码</div>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" v-model="password" placeholder="原密码"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">新密码</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" v-model="newPassword" placeholder="新密码"/>
                    </div>
                </div>
            </div>
        </form>
    </div>

</div>
<!-- ./wrapper -->

<div  ng-app="app" ng-controller="socketMessage" ></div>
<script src="${request.contextPath}/statics/libs/jquery.min.js"></script>
<script src="${request.contextPath}/statics/libs/vue.min.js"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>-->
<script src="${request.contextPath}/statics/libs/router.js"></script>
<script src="${request.contextPath}/statics/libs/bootstrap.min.js"></script>
<script src="${request.contextPath}/statics/libs/app.js"></script>
<script src="${request.contextPath}/statics/plugins/layer/layer.js"></script>
<script src="${request.contextPath}/statics/js/index.js"></script>
<script src="${request.contextPath}/statics/js/modules/push/webSocket.js"></script>
</body>
</html>
